require([ "require-config" ], function() {
	require([ 'jquery', 'validate' ], function() {
		$(function(){
			setInterval(startRequest,5000);
		});
		function startRequest(){
			$.ajax({
                url: 'list',
                type: 'GET',
                data: {},
                success: function() {
                	alert('刷新成功');
                },
                error: function() {
                	alert('刷新失败');
                }
            });
		}
	})
});